<template>
  <div>
    <el-form ref="form" :inline="true" size="small" label-width="60px">
      <p>{{ dataStr }}</p>
    </el-form>
  </div>
</template>

<script lang="ts">
  import { Vue, Component } from 'vue-property-decorator'
  import { get } from '@/api/ajax'
  import { GetDataApi } from '@/api/apis'
  import YBPopView from "@/utils/popView";

  @Component({
    components: {}
  })

  export default class Home extends Vue{

    uuids = '78d4c349-cc97-4176-bf19-dc9c45608041,79b37966-c599-4559-b3c0-063aa49a4031'
    dataStr = ''

    searchBtnClick() {
      get<string>(GetDataApi.getOnesData, {
        uuids: this.uuids
      }).then((data) => {
        this.dataStr = data
      })
    }

    mounted() {
      this.searchBtnClick()
    }
  }
</script>

<style scoped>

</style>
